package mybean.data;
//JavaBean实例--id是loginBean，生命周期是session----用来存储用户的信息
import java.util.*;
public class login {
	
	String logname="",realname="",password="",phone="",ID="",money="",credict="",deposit="",role="";
	LinkedList<String>car; //用户存放使用的车信息
	public login() {
		car= new LinkedList<String>();
	}
	public void setLogname(String logname) {//账户名
		this.logname = logname;
	}
	public String getLogname() {
		return logname;
	}
	public void setRealname(String realname) {//真实名字
		this.realname = realname;
	}
	public String getRealname() {
		return realname;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPassword() {
		return password;
	}
	public void setID(String ID) {
		this.ID = ID;
	}
	public String getID() {
		return ID;
	}
	public void setmoney(String money) {
		this.money = money;
	}
	public String getmoney() {
		return money;
	}
	public void setcredict(String credict) {
		this.credict = credict;
	}
	public String getcredict() {
		return credict;
	}
	public void setdeposit(String deposit) {
		this.deposit = deposit;
	}
	public String getdeposit() {
		return deposit;
	}
	public void setPhone(String p) {
		phone = p;
	}
	public String getPhone() {
		return phone;
	}
	public LinkedList<String>getcar(){
		return car;
	}
	public void setrole(String r) {
		role = r;
	}
	public String getrole() {
		return role;
	}
}
